package com.joolun.weixin.entity;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 直播间信息对象 zb_room
 * 
 * @author joolun
 * @date 2025-04-24
 */
@Data
public class ZbRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 直播名称 */
    @Excel(name = "直播名称")
    private String title;

    /** 直播开始时间 */
    @Excel(name = "直播开始时间")
    private String startTime;

    /** 直播结束时间 */
    @Excel(name = "直播结束时间")
    private String endTime;

    /** 直播类型 */
    @Excel(name = "直播类型")
    private String type;

    /** 主播ID */
    @Excel(name = "主播ID")
    private String zhubo;

    /** 直播配置ID */
    @Excel(name = "直播配置ID")
    private String configId;

    /** 视频来源 */
    @Excel(name = "视频来源")
    private String videoSource;

    /** 直播模式1-竖屏，2-横屏 */
    @Excel(name = "直播模式1-竖屏，2-横屏")
    private String model;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Excel(name = "状态")
    private Integer videoId;

    /** 主体id */
    @Excel(name = "主体id")
    private String corpId;

    /** 课程id */
    @Excel(name = "课程id")
    private String courseId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setZhubo(String zhubo) 
    {
        this.zhubo = zhubo;
    }

    public String getZhubo() 
    {
        return zhubo;
    }
    public void setConfigId(String configId) 
    {
        this.configId = configId;
    }

    public String getConfigId() 
    {
        return configId;
    }
    public void setVideoSource(String videoSource) 
    {
        this.videoSource = videoSource;
    }

    public String getVideoSource() 
    {
        return videoSource;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("type", getType())
            .append("zhubo", getZhubo())
            .append("configId", getConfigId())
            .append("videoSource", getVideoSource())
            .append("model", getModel())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
